QueryDefinition.CountViewColumnName Property

The value of the "CountViewColumnName" attribute. This is the name of a column in the LearningStore view specified by ViewName that can be used when the application needs to determine the number of rows returned in a query. In that situation, the query must include one column -- any column will do -- and it helps performance to make that column be one that contains small data (such as a boolean or integer column). If CountViewColumnName is null, the application will use the first column specified in Columns when creating count-only queries.

Parent Type: QueryDefinition

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public string CountViewColumnName

{ get; }